cat = {'type': 'orange cat', 'master': 'John'}
dog = {'type': 'collie', 'master': 'Peter'}
pets = [cat, dog]
for pet in pets:
    for k,v in pet.items():
        print(k + ': ' + v)